package com.qdxwx.models.order;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 流水查询条件类
 */

public class OrderDetailQuery implements Serializable{

	private static final long serialVersionUID = 8823831006166279064L;

    private Integer companyId;
    private Long userId;//用户id
    private String userName;
    private String mobile;
    private String orderType;//订单类型 COURSE课程 MEMBER会员
    private Integer orderId;//交易订单ID
    private String orderNo;//订单号
	private Integer courseId;//相关联的课程id（前台快照）
	private String courseName;//课程名称（前台goods快照）
	private String orderStatus;//订单状态（前台goods快照）
    private String authStatus;//课程状态（INIT，SUCCESS，REFUND，CLOSED，LOSED,DELETE(个人删除课程)）

	private LocalDateTime startCreateTime;
	private LocalDateTime endCreateTime;
	private LocalDateTime startPayTime;
	private LocalDateTime endPayTime;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(String authStatus) {
        this.authStatus = authStatus;
    }

    public LocalDateTime getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(LocalDateTime startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public LocalDateTime getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(LocalDateTime endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public LocalDateTime getStartPayTime() {
        return startPayTime;
    }

    public void setStartPayTime(LocalDateTime startPayTime) {
        this.startPayTime = startPayTime;
    }

    public LocalDateTime getEndPayTime() {
        return endPayTime;
    }

    public void setEndPayTime(LocalDateTime endPayTime) {
        this.endPayTime = endPayTime;
    }

    @Override
    public String toString() {
        return "OrderDetailQuery{" +
                "companyId=" + companyId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", mobile='" + mobile + '\'' +
                ", orderType='" + orderType + '\'' +
                ", orderId=" + orderId +
                ", orderNo='" + orderNo + '\'' +
                ", courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", authStatus='" + authStatus + '\'' +
                ", startCreateTime=" + startCreateTime +
                ", endCreateTime=" + endCreateTime +
                ", startPayTime=" + startPayTime +
                ", endPayTime=" + endPayTime +
                '}';
    }
}
